<!DOCTYPE html>
<html lang="zh-cmn-Hans">
	<head>
		<meta charset="UTF-8">
		<meta name="keywords" content="收货地址,营圈网" />
		<meta name="description" content="收货地址，个人中心，营圈网，一起来赢！" />
		<title>个人资料 - 营圈网</title>
		<#include "/common/head.html">
	</head>

	<body>
			<#include "/mine/header.html">
		<div class="person-section clearfix">
			<!--左分类-->
			<#include "/mine/left.html">
			<!--内容-->
			<div class="mordrMain fr personaM-content-wrap">
				<div class="title clearfix">
					<ul class="clearfix fl nav">
						<li class="fl active hover"><a href="javascript:;">个人资料</a></li>
					</ul>
				</div>
				<form action="/user/save.html" method="post" >
					<dl class="content-main">
						<dt>尊敬的用户，你好，填写真实的资料，有助于我们为您提供个性化服务。</dt>
						<dd class="clearfix">
							<span class="fl">当前头像：</span>
							<div class="fl img-parent">
								<img src="${(user.head)!"/imgs/photo.jpg"}" height="120px">
							</div>
						</dd>
						<dd class="clearfix">
							<span class="fl">*昵称：</span>
							<input type="text" value="${(user.username)!""}" class="txt fl" name="username">
						</dd>
						<dd class="clearfix">
							<span class="fl">真实姓名：</span>
							<input type="text" value="${(user.realname)!""}" class="txt fl" name="realname">
						</dd>
						<dd class="clearfix">
							<span class="fl">手机号码：</span>
							<input type="text" value="${(user.mobile)!""}" class="txt fl" name="mobile">
						</dd>
						<dd class="clearfix">
							<span class="fl">性别：</span>
							<label class="fl sex"><input type="radio" name="gender" value="1" <#if (((user.gender)!0) == 1)>checked</#if>>男</label>
							<label class="fl sex"><input type="radio" name="gender" value="2" <#if (((user.gender)!0) == 2)>checked</#if>>女</label>
							<label class="fl sex"><input type="radio" name="gender" value="3" <#if (((user.gender)!0) == 3)>checked</#if>>保密</label>
						</dd>
						<dd class="clearfix">
							<span class="fl">生日：</span>
							<input name="birthday" id="birthday" value="${(user.birthday)!""}" class="txt fl" >
						</dd>
						<dd class="clearfix">
							<span class="fl">联系地址：</span>
							<input name="address" value="${(user.address)!""}" class="txt fl" >
						</dd>
						<dd class="clearfix">
							<span class="fl">邮箱地址：</span>
							<input type="text" value="${(user.email)!""}" class="txt fl" name="email">
						</dd>
						<dd class="clearfix">
							<span class="fl"></span>
							<input type="submit" value="保存" class="sub">
						</dd>
					</dl>
				</form>
			</div>
		</div>
	
		<!--尾部-->
		<#include "/common/footer.html">
	</body>
	<script type="text/javascript" src="http://static.yqw.com/js/ext/laydate/laydate.js"></script>
	<script>
		laydate.render({
		  elem: '#birthday'
		  ,min: '1920-1-1'
		  ,max: '2017-12-31'
		  ,value: '1988-01-01'
		});
		
		<#if msg??>
		layer.msg("${msg}");
		</#if>
	</script>

</html>